package com.lihq.scannertool.demo;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.Toast;

import com.lihq.scannertool.DecodeCallBack;

public class Main2Activity extends AppCompatActivity implements DecodeCallBack{

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main2);
    }

    @Override
    public void onDecodeComplete(String barcode) {
        Toast.makeText(this,barcode,Toast.LENGTH_SHORT).show();
    }
}
